package com.aos.erp.manager.mapper.sys;

import com.aos.erp.common.dao.mapper.SuperMapper;
import com.aos.erp.manager.model.sys.User;
import com.aos.erp.manager.model.sys.dto.UserDto;

import java.util.List;
import java.util.Map;

public interface UserMapper extends SuperMapper<User> {
    List<User> findByName(String name);

    List<UserDto> findByParams(Map<String, Object> map);

    int updateObject(User user);

    Long insertObject(User user);
}
